import request from '@/utils/request'
import API from '@/api/constans'

export const getBanners = () =>
  request({
    url: API.API_BANNERS,
    methods: 'GET',
  })

export const getTabs = () =>
  request({
    url: API.API_TABS,
    methods: 'GET',
  })

export const getMains = () =>
  request({
    url: API.API_MAINS,
    methods: 'GET',
    headers: {
      s_channel: 'h5_m',
    },
  })
